package com.codefish;

/**
 * 启动类加载器
 *
 * @author codefish
 * @version 1.0
 * @date 2022/06/12 下午 10:02
 */
public class SimpleBootStrapClassLoader extends SimpleClassLoader {

    /**
     * 启动类加载器的父加载器为null
     */
    public SimpleBootStrapClassLoader() {
        super(null);
        super.loaderName = "启动";
    }

    @Override
    public void initRegistry() {
        registry.put("Boot1.class", null);
        registry.put("Boot2.class", null);
        registry.put("Boot3.class", null);
    }

}
